package com.gu.mobileweb.service.impl;

import com.gu.mobileweb.mapper.IndexEatMapper;
import com.gu.mobileweb.model.IndexEat;
import com.gu.mobileweb.service.IndexEatService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IndexEatServiceImpl implements IndexEatService {
    @Autowired
    private IndexEatMapper indexEatMapper;

    @Override
    public List<IndexEat> eatSwiperList() {
        return indexEatMapper.eatSwiperList();
    }

    @Override
    public List<IndexEat> foodList() {
        return indexEatMapper.foodList();
    }

    @Override
    public List<IndexEat> specialitesList() {
        return indexEatMapper.specialitesList();
    }

}
